package com.ruoyi.llm.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("\"KNOWLEDGE_INFO\"")
public class KnowledgeInfoPo extends BasePo{

    @ApiModelProperty("ID")
    public String id;

    @ApiModelProperty("知识库名称")
    public String name;

    @ApiModelProperty("知识库描述")
    public String descript;

    @ApiModelProperty("项目ID")
    public String projectId;

    @ApiModelProperty("操作人")
    public String creator;

    @ApiModelProperty("关联的文档")
    @TableField(exist = false)
    public List<KnowledgeDocInfoPo> docs;
}
